package com.xy.novelmanagement.mapper;

import com.xy.model.Novel;
import com.xy.model.NovelType;
import com.xy.model.RootNovelType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NovelManagementMapper {
		List<Novel> selectAll();

		Integer downShelfNovel(String[] nameList);

		Integer recoverNovel(String[] nameList);

		List<RootNovelType> getTypeList();

		void deleteNovelType(String novelName);

		void addNovelType(List<NovelType> bookType);

		void test(NovelType novelType);

		List<Novel> findAll();
}
